import { createRouter,createWebHistory } from "vue-router";
import optionVue from "@/views/game/option.vue";
import stateVue from "@/views/game/Battle.vue";
import LoginRegistVue from "@/views/LoginRegist.vue";

const routers=[
    {path:"/option",component:optionVue},
    {path:"/battle",component:stateVue},
    {path:"/",component:LoginRegistVue},
]
const router = createRouter({
    history:createWebHistory(),
    routes:routers
})
export default router